/**
 * 环境标志: prd:正式 test:测试 dev:开发
 */
const env = 'test';

/**
 * 访问地址
 */
const apiPrd = "https://web-prd.qingzhuyun.com/api/mini"; //正式
const apiTest = "https://qsc1.exbim.com:55620/api/mini"; //测试

/**
 * 上传图片域名
 */
const uploadImgUrl = 'https://qsc1.exbim.com:55620'

/**
 * RSA秘钥
 */

const RSA =
	'MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAJB8gF10aI1nGqsoPeGOjdAXDz/Enes2788Pc3NQ+I/t+vO3IKRuapcu5svo06ILTHTxlTQJ88ZUJ9XM35ru5te3MU6FcsJF0kTB4KW8VAvmqmjUhL35K5ZkOwce0AwAporlvFiCFGUnqaXa9ddZSsaUyEs9v8WVTI5qbjNniBEjAgMBAAECgYAb/hL8iCYNZzFSgaxje7Pb4evRZe1WecFCM3Mhn0lY0TlyaENJuB6shaivTr9ZwKiia3+Fonv5K6rAED4uDSTp0XHxll6XcC6CcrFyu2Fc3e+eBNepcE8A6BgyT+P44fwEZHAqlizvCJ63SYsluFCDREM8Erh8MnOOoGomAfDGWQJBAMrv1xE+BIrS4z1B8H3gfzAX6aYXw8m8xn2mf2cDx7RW0MvMCvUpOG6iKS8TIv1Wk2lOuyXH44soVM+EZpSFwwcCQQC2RBtygj+pGDVHKuMyeRwFNySAojMvPhNckUvGG30i5nPJUZr8m2NzvJYM6uznrG5FF0kK88/VmokV06xxIC4FAkEAlaukM+xIj1aQECrkwwHi7EaGpWAbn1siDaPRjNmF3WS2I8h+QGhBXZ8tvrFfefbzS5SshGXTVVvOiSp+OYYZ2wJBAJsBavJEUM2Gl/DRSWzoUGsjDTkUOEFqIl8r9ewh/pcKs9e3Pf6sS7Tm4hlURWt1WkYJ2oWk+dCn3wOgA9wlSN0CQQC4tqd+Ut8XV6M498/ADVyOLNSCU+ZwrjIHFb2liEWlOc7Cnm3M1HrKZCo7LkDz7GodotQ8WyDInAfUOouYd+vm';


/**
 * QQ地图key
 */

const mapKey = "GLXBZ-WA6KT-RBKXS-VGLO2-JTCD3-M6BD7";

/**
 * 静态资源地址
 */
const assetsUrl = "https://qsc1.exbim.com:55620"; //服务器静态地址
const localAssetsUrl = "";

/**
 * 小程序码生成环境
 */

let wxEnvVersion = "";

let apiUrl = apiTest; //当前请求地址



switch (env) {
	case 'prd':
		apiUrl = apiPrd;
		wxEnvVersion = 'release';
		break;
	case 'test':
		apiUrl = apiTest;
		wxEnvVersion = 'trial';
		break;
	case 'dev':
		wxEnvVersion = 'develop';
		break;
}

export default {
	apiUrl,
	assetsUrl,
	localAssetsUrl,
	RSA,
	mapKey,
	currentEnv: env,
	wxEnvVersion,
	uploadImgUrl
}